import httpRequest ,{requestJson} from '@/services'

export function getPlay(params) {
    return httpRequest({
        url: '/rtc/v1/play/',
        method: 'post',
        params,
    })
}

export function getKey() {
    return requestJson({
        msg_id:'1286'
    })
}

export function getPersonTotal(params) {
    return requestJson({
        msg_id:'1050',
        ...params
    })
}

export function getList(params) {
  return httpRequest({
    url: window.config.apiHost + "/alarm/list",
    method: "get",
    params: {
      ...params
    },
  });
}

